/**
 * 入口文件使用Provider包裹App 方便获取state
 * Created by TRight on 2016/11/14.
 */
import React,{ Component } from 'react';
import { render } from 'react-dom';
import {Provider} from 'react-redux';
import configureStore from './stores/configure-store';//导入容器

import App from './views/light';

const store = configureStore();

render(
    <Provider store={store}>
        <App />
    </Provider>,
    document.getElementById('root')
);